using UnityEngine;

namespace Fusion.Hotfix.Mono.LifeCycle
{
    public class OnCollisionExit2DLifeCycle : DLLMonoLifeCycle
    {
        private object[] methodParams = new object[1];

        private void OnCollisionExit2D(Collision2D collision)
        {
            methodParams[0] = collision;
            MethodInfo?.Invoke(Mono, methodParams);
        }
    }
}


